/**
 * 
 */
package org.soft.game.main;

import org.soft.game.engine.core.GameEngine;
import org.soft.game.engine.core.GameEngine2;
import org.soft.game.engine.core.entities.Stone;
import org.soft.game.engine.interfaces.AbstractItem;
import org.soft.game.engine.interfaces.Folder;
import org.soft.game.engine.interfaces.IItem;
import org.soft.game.handler.GameHandler;
import org.soft.game.handler.GraphicHandler;

/**
 * @author gag
 *
 */
public class Main {

	
	public static void main(String[] args) {
		GameHandler handler = new GameHandler();
		
		handler.startGame(new GameEngine());
		
		handler.startGame(new GameEngine2());
		//test
		
		
		AbstractItem st1 = new Stone();
		st1.setX(10);
		st1.setFolder(Folder.videos);
		
		AbstractItem st2 = new Stone();
		st2.setX(100);
		
		AbstractItem st3 = new Stone();
		st3.setX(10000);
		
		IItem[] items = new AbstractItem[]{st1,st2,st3};
		
		GraphicHandler graphicHandler = new GraphicHandler();
		
		graphicHandler.drawItems(items);
		
		
	}
}
